/*
 *    Copyright (c) 2018-2025, nart All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: nart
 */

package com.nai365.nart.ware.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 库存工作单
 *
 * @author baogs
 * @date 2022-07-09 14:28:31
 */
@Data
@TableName("wms_ware_order_task")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "库存工作单")
public class WareOrderTask extends Model<WareOrderTask> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="id")
    private Long id;

    /**
     * order_id
     */
    @ApiModelProperty(value="order_id")
    private Long orderId;

    /**
     * order_sn
     */
    @ApiModelProperty(value="order_sn")
    private String orderSn;

    /**
     * 收货人
     */
    @ApiModelProperty(value="收货人")
    private String consignee;

    /**
     * 收货人电话
     */
    @ApiModelProperty(value="收货人电话")
    private String consigneeTel;

    /**
     * 配送地址
     */
    @ApiModelProperty(value="配送地址")
    private String deliveryAddress;

    /**
     * 订单备注
     */
    @ApiModelProperty(value="订单备注")
    private String orderComment;

    /**
     * 付款方式【 1:在线付款 2:货到付款】
     */
    @ApiModelProperty(value="付款方式【 1:在线付款 2:货到付款】")
    private Integer paymentWay;

    /**
     * 任务状态
     */
    @ApiModelProperty(value="任务状态")
    private Integer taskStatus;

    /**
     * 订单描述
     */
    @ApiModelProperty(value="订单描述")
    private String orderBody;

    /**
     * 物流单号
     */
    @ApiModelProperty(value="物流单号")
    private String trackingNo;

    /**
     * create_time
     */
    @ApiModelProperty(value="create_time")
    private LocalDateTime createTime;

    /**
     * 仓库id
     */
    @ApiModelProperty(value="仓库id")
    private Long wareId;

    /**
     * 工作单备注
     */
    @ApiModelProperty(value="工作单备注")
    private String taskComment;

}
